home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / 4dSample.cpt / Proc.Ext.rsrc / 4DTE_15045 < prev    next >
Encoding:
Text File  |  1988-03-14  |  845 b   |  14 lines

  1. DefinePopMenu(Var1;Var2;Var3;Var4)
  2.    Var1 is an external area in a layout
  3.    Var2 and Var3 are alphanumeric variables
  4.    Var4 is a numeric variable
  5.  
  6. Using DefinePopMenu, you can define a pop up menu installed in a layout.
  7. Var1 is the external area variable.
  8. You give the title of the menu in Var2. You specify the items in Var3. You can specify two kinds of pop up menus. If Var4 is equal to 0, the menu title is displayed in a sample manner. If Var4 is equal to 1, the title is displayed with a shadow frame.
  9.  
  10. To specify the items of the menu, separate with a semicolon, for example:"Line1;Line2;Line3;;Quit". An empty string between 2 semicolons means an inactive separation line. You can use in the string all metacharacters of the Menu manager to specify marks, styles variations, icons.
  11.  
  12. Note:
  13. ShortCuts are not supported in a popup menu.
  14.